// 最基本的折线图，隐藏了x轴和y轴的坐标，只是为了好看
export const echartsConfig = {
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
    show: false,
  },
  tooltip: {
    trigger: 'axis',
  },
  grid: {
    left: '3%',
    right: '3%',
    top: 20,
    bottom: 20,
  },
  yAxis: {
    type: 'value',
    show: false,
  },
  series: [
    {
      data: [20, 32, 10, 34, 90, 30, 20],
      type: 'line',
      areaStyle: {},
      smooth: true,
    },
  ],
}
